Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code-infra] Move next config to ESM #11882

Merged
merged 8 commits into from
Feb 2, 2024
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jan 31, 2024

See mui/material-ui#40869

I extracted a few constants into a separate cjs file, they are used in one of the scritps. ATM the scripts have poor ESM support. We'll improve that separately by ditching babel-node. We'll also think deeper about docs config once we start extracting more things into the next.js plugin.

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Jan 31, 2024
@Janpot Janpot changed the title [code-infra] Move to next.config.mjs [code-infra] Move next config to ESM Jan 31, 2024
@mui-bot
Copy link

mui-bot commented Jan 31, 2024

Deploy preview: https://deploy-preview-11882--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 45c9c96

@Janpot Janpot marked this pull request as ready for review February 1, 2024 12:02
@Janpot Janpot requested a review from a team February 1, 2024 12:02
@Janpot Janpot merged commit b18b02f into mui:next Feb 2, 2024
17 checks passed
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants